import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import BMap from '../views/BMap.vue'
import BMap2 from '../views/BMap2.vue'
Vue.use(VueRouter)

const routes = [{
        path: '/',
        name: 'Home',
        component: Home
    },
    {
        // 测试数据大盘页面-用vue-echarts
        path: '/bmap',
        name: 'BMap',
        component: BMap
    },
    {
        // 测试数据大盘页面-利用v-charts(饿了么集成的)
        path: '/bmap2',
        name: 'BMap2',
        component: BMap2
    }
]

const router = new VueRouter({
    routes
})

export default router